package com.molichuxing.services.infrastructure.service;

import com.molichuxing.framework.service.RootService;
import com.molichuxing.services.infrastructure.dto.request.create.EnterpriseStateFlowCreateDto;
import com.molichuxing.services.infrastructure.dto.request.create.EnterpriseStatusFlowCreateDto;
import com.molichuxing.services.infrastructure.dto.response.EnterpriseStateFlowDto;

import java.util.List;

/**
 * 企业订单状态流转
 *
 * @Author zoumingyu
 * @Date 2020年06月10日
 */
public interface EnterpriseStateFlowService extends RootService {

    /**
     * 创建订单流程
     * @param createDto
     * @return
     */
    public Integer create(EnterpriseStateFlowCreateDto createDto);

    /**
     * 查询订单流程状态
     * @param orderCode
     * @return
     */
    public List<EnterpriseStateFlowDto> getListByOrderCode(Long orderCode);
}
